package org.csmzxy.class2334;

public class maximum {
    public static void main(String[] args){
        int maxValueIndex = 0;
        int[] arr = { 52,63,1,14,36,95,6,10,27,40};
        for( int i=0;i<arr.length;i++){
            if(arr[i] >arr[maxValueIndex]){
                maxValueIndex =i;
            }
        }
        System.out.println(maxValueIndex);
    }
}
